﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200011F RID: 287
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BCDICBDJFHH : IMessage<BCDICBDJFHH>, IMessage, IEquatable<BCDICBDJFHH>, IDeepCloneable<BCDICBDJFHH>, IBufferMessage
	{
		// Token: 0x170003F0 RID: 1008
		// (get) Token: 0x06000D34 RID: 3380 RVA: 0x00027F2C File Offset: 0x0002612C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BCDICBDJFHH> Parser
		{
			get
			{
				return BCDICBDJFHH._parser;
			}
		}

		// Token: 0x170003F1 RID: 1009
		// (get) Token: 0x06000D35 RID: 3381 RVA: 0x00027F33 File Offset: 0x00026133
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BCDICBDJFHHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170003F2 RID: 1010
		// (get) Token: 0x06000D36 RID: 3382 RVA: 0x00027F45 File Offset: 0x00026145
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BCDICBDJFHH.Descriptor;
			}
		}

		// Token: 0x06000D37 RID: 3383 RVA: 0x00027F4C File Offset: 0x0002614C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BCDICBDJFHH()
		{
		}

		// Token: 0x06000D38 RID: 3384 RVA: 0x00027F5F File Offset: 0x0002615F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BCDICBDJFHH(BCDICBDJFHH other) : this()
		{
			this.buffList_ = other.buffList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000D39 RID: 3385 RVA: 0x00027F89 File Offset: 0x00026189
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BCDICBDJFHH Clone()
		{
			return new BCDICBDJFHH(this);
		}

		// Token: 0x170003F3 RID: 1011
		// (get) Token: 0x06000D3A RID: 3386 RVA: 0x00027F91 File Offset: 0x00026191
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<LCCKNJAJHPC> BuffList
		{
			get
			{
				return this.buffList_;
			}
		}

		// Token: 0x06000D3B RID: 3387 RVA: 0x00027F99 File Offset: 0x00026199
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BCDICBDJFHH);
		}

		// Token: 0x06000D3C RID: 3388 RVA: 0x00027FA7 File Offset: 0x000261A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BCDICBDJFHH other)
		{
			return other != null && (other == this || (this.buffList_.Equals(other.buffList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000D3D RID: 3389 RVA: 0x00027FDC File Offset: 0x000261DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.buffList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000D3E RID: 3390 RVA: 0x00028010 File Offset: 0x00026210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000D3F RID: 3391 RVA: 0x00028018 File Offset: 0x00026218
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000D40 RID: 3392 RVA: 0x00028021 File Offset: 0x00026221
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.buffList_.WriteTo(ref output, BCDICBDJFHH._repeated_buffList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000D41 RID: 3393 RVA: 0x00028048 File Offset: 0x00026248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.buffList_.CalculateSize(BCDICBDJFHH._repeated_buffList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000D42 RID: 3394 RVA: 0x00028081 File Offset: 0x00026281
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BCDICBDJFHH other)
		{
			if (other == null)
			{
				return;
			}
			this.buffList_.Add(other.buffList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000D43 RID: 3395 RVA: 0x000280AF File Offset: 0x000262AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000D44 RID: 3396 RVA: 0x000280B8 File Offset: 0x000262B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.buffList_.AddEntriesFrom(ref input, BCDICBDJFHH._repeated_buffList_codec);
				}
			}
		}

		// Token: 0x040005AA RID: 1450
		private static readonly MessageParser<BCDICBDJFHH> _parser = new MessageParser<BCDICBDJFHH>(() => new BCDICBDJFHH());

		// Token: 0x040005AB RID: 1451
		private UnknownFieldSet _unknownFields;

		// Token: 0x040005AC RID: 1452
		public const int BuffListFieldNumber = 7;

		// Token: 0x040005AD RID: 1453
		private static readonly FieldCodec<LCCKNJAJHPC> _repeated_buffList_codec = FieldCodec.ForMessage<LCCKNJAJHPC>(58U, LCCKNJAJHPC.Parser);

		// Token: 0x040005AE RID: 1454
		private readonly RepeatedField<LCCKNJAJHPC> buffList_ = new RepeatedField<LCCKNJAJHPC>();
	}
}
